package OOPS;

class Hello6 {
	private int ab;

	private Hello6(int ab) {
		this.ab = ab;
	}

	void show() {
		System.out.println(ab);
	}

	static Hello6 getInstance(int ab) {
		return new Hello6(ab);
	}
}

class Test46 {
	public static void main(String str[]) {
		Hello6 h = null;
		// h=new Hello6(88);
		h = Hello6.getInstance(74);
		h.show();
	}
}